﻿<!DOCTYPE html>
<html lang="pl">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - Grupa .NET Uniwersytet Łódzki</title>
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/jquery", "~/bundles/jqueryui", "~/bundles/jqueryval")
    <link rel="shortcut icon" href="~/Images/Logo.png" type="image/x-icon" />
</head>
<body>
    <div id="TopBackgroundBorder">
        <div id="TopBackground">
            <header>
                <div id="SiteTopTop">
                    <a href="~/">
                        <img src="~/Images/Logo.png" id="SiteLogo" alt="Grupa .NET" /></a>
                    <div id="SiteTop">
                        <div id="SiteTitle"><a href="~/">Grupa .NET</a></div>
                        <div id="SiteTitleText">Uniwersytet Łódzki</div>
                    </div>
                </div>
                <div id="LoginPartial">
                    @Html.Partial("_LoginPartial")
                </div>

                <nav>
                    @Html.Partial("_Menu")
                </nav>
            </header>
        </div>
    </div>
    <div id="Content">
        <div id="BackgroundContent">
            <div id="RealContent">
                <div id="MainBody">
                    @RenderBody()
                </div>
                <div class="Clear"></div>
            </div>
        </div>
    </div>
    <div id="BottomBackground">
        <footer>
            Grupa .NET Uniwersytet Łódzki - @Html.ActionLink("RSS", "Index", "Rss")
        </footer>
    </div>
    @RenderSection("scripts", required: false)
    <script type="text/javascript">
        $('#LogIn').click(function () { toggleLogInBox(); });

        function toggleLogInBox() {
            $('#LogInBox').toggle(200);
            var t = $('#LogIn').text();
            if (t == 'Zaloguj się') {
                $('#LogIn').text('Schowaj panel');
            }
            else {
                $('#LogIn').text('Zaloguj się');
            }
        }
    </script>
</body>
</html>
